include_llvm_ADT_Triple.h
authorLLVM Packaging Team <pkg-llvm-team@lists.alioth.debian.org>
Tue, 24 Sep 2019 19:09:57 +0000 (20:09 +0100)
committerSylvestre Ledru <sylvestre@debian.org>
Tue, 24 Sep 2019 19:09:57 +0000 (20:09 +0100)
===================================================================

Gbp-Pq: Topic kfreebsd
Gbp-Pq: Name include_llvm_ADT_Triple.h.diff

include/llvm/ADT/Triple.h

index edeb31efab80132181c339fdb25d43ee368a3808..a9dfe8c6345d243ffbf0c91decdd0358754eca06 100644 (file)
@@ -161,7 +161,7 @@ public:
     FreeBSD,
     Fuchsia,
     IOS,
-    KFreeBSD,
+    kFreeBSD,
     Linux,
     Lv2,        // PS3
     MacOSX,
@@ -588,8 +588,8 @@ public:
   }
 
   /// Tests whether the OS is kFreeBSD.
-  bool isOSKFreeBSD() const {
-    return getOS() == Triple::KFreeBSD;
+  bool isOSkFreeBSD() const {
+    return getOS() == Triple::kFreeBSD;
   }
 
   /// Tests whether the OS is Hurd.
@@ -609,7 +609,7 @@ public:
 
   /// Tests whether the OS uses glibc.
   bool isOSGlibc() const {
-    return (getOS() == Triple::Linux || getOS() == Triple::KFreeBSD ||
+    return (getOS() == Triple::Linux || getOS() == Triple::kFreeBSD ||
             getOS() == Triple::Hurd) &&
            !isAndroid();
   }